<div id="comment_div"
     data-desc="0"
     data-author-id="<?= $InputData['author_id'] ?>"
     data-comment-id="<?= $comment->Id ?>" data-parent-id="<?= $InputData['comment_parent_id'] ?>"
     data-parent-type="<?= $InputData['comment_parent_type'] ?>"
     class="am-text-middle app-comment-show-bar">
    <a class="am-link-muted" onclick="act_back()">
        <i class="am-icon am-icon-chevron-left"></i>&nbsp;&nbsp;
    </a>
    <span><?= $comment->UserName ?>&nbsp;的评论</span>
    <i class="am-text-xs am-icon am-icon-comment-o am-icon-fw am-fr app-viewcount-color"></i>
    <span style="text-align: right" id="comment_count2"
          class="am-text-xs am-fr app-viewcount-color"><?= $replyCount ?></span>
    <a onclick="comment_desc(this,'reply');" style="margin-right: 10px"
       class="am-icon-fw am-icon-caret-square-o-down am-fr app-viewcount-color"></a>
</div>
<div style="height: 40px"></div>
<div class="app-avatar-bar am-text-xs">
    <div class="am-vertical-align" style="padding-top:4px">
        <img class="am-circle app-avatar-sm" style="float: none" alt="" src="<?= $comment->Avatar ?>"/>
        <div class="app-main-color am-vertical-align-middle" style="font-size: 12px;padding-left: 10px;">
            <span class="am-fl" id="comment_<?= $comment->Id ?>_user_name"><?= $comment->UserName ?></span>
            <?php if ($InputData['author_id'] == $comment->UserId) { ?>
                <span class="am-fl app-comment-badge app-main-backcolor">作者</span>
            <?php } ?>
            <div onclick="comment_up(<?= $comment->Id ?>,this)"
                 style="position: absolute; right: 10px"
                 class="<?php
                 if ($comment->UpCount > 0) echo 'app-comment-up-count-en';
                 else echo 'app-comment-up-count-dis';
                 ?>">
                <span><?= $comment->UpCount ?></span>
                <i class="am-icon am-icon-fw am-icon-thumbs-<?= $recommendIconEx ?>up"></i>
            </div>
        </div>
    </div>
    <div class="app-avatar-bar-name" style="width: 100%">
        <div onclick="goto_comment_edit('<?= $comment->Id ?>')" class="app-comment-text" style="margin-top: 10px">
            <?= $comment->Text; ?>
        </div>
        <div class="app-datetime-color" style="margin-top: 15px"><?= $comment->CommentDt2; ?></div>
    </div>
</div>
<div id="comment_reply_list" class="app-gray-background am-text-xs"
     style="margin-top: 10px; width: 100%;">
    <?php require("{$CfgPara->root}/view/comment_show_reply.app.v.php") ?>
</div>